import request from "@/utils/request";

// 查询订单审核状态
export function getSetSwitch(params) {
  return request({
    url: "/enterprise/setSwitch/setSwitch",
    method: "get",
    params
  });
}

// 修改订单审核状态
export function updateSetSwitch(data) {
  return request({
    url: "/enterprise/setSwitch/setSwitch",
    method: "put",
    data
  });
}
